<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      h1 {
        color: rgb(246, 245, 171);
      }
      /* 媒体查询，满足指定条件下会加载更高指定的样式
          同名属性媒体查询优先级会更高
           */
      @media screen and (max-width: 600px) {
        /* @import url(''); */
        h1 {
          color: thistle;
        }
      }
      @media screen and (min-width: 600px) and (max-width: 900px) {
        /* @import url(''); */
        h1 {
          color: rgb(202, 244, 203);
        }
      }
      @media screen and (min-width: 900px) {
        /* @import url(''); */
        h1 {
          color: rgb(246, 245, 171);
        }
      }
    </style>
  </head>
  <body>
    <h1>你发如雪凄美了离别，我焚香感动了谁</h1>
  </body>
</html>
